﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Channels;

namespace WcfFlashRemoting.ServiceModel.Channels
{
    class AmfMessage : AmfBaseMessage
    {
        AmfObjects.AmfBody amfBody;


        public AmfMessage(MessageVersion messageVersion, AmfObjects.AmfHeader[] amfHeaders, AmfObjects.AmfBody amfBody, ushort amfVersion)
            : base(messageVersion, amfHeaders, amfVersion)
        {
            this.amfBody = amfBody;
        }

        public AmfObjects.AmfBody AmfBody { get { return amfBody; } }
    }
}
